.class Lcom/xingbook/ecloud/c/b;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/xingbook/ecloud/c/a;


# direct methods
.method constructor <init>(Lcom/xingbook/ecloud/c/a;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ecloud/c/b;->a:Lcom/xingbook/ecloud/c/a;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    invoke-static {}, Lcom/xingbook/ecloud/d/a;->a()Lcom/xingbook/ecloud/d/a;

    move-result-object v1

    iget-object v2, p0, Lcom/xingbook/ecloud/c/b;->a:Lcom/xingbook/ecloud/c/a;

    invoke-static {v2}, Lcom/xingbook/ecloud/c/a;->a(Lcom/xingbook/ecloud/c/a;)Lcom/xingbook/ecloud/b/a;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/ecloud/b/a;->t()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/xingbook/ecloud/d/a;->a(Ljava/lang/String;)Lcom/xingbook/park/e/c;

    move-result-object v1

    if-eqz v1, :cond_1

    invoke-virtual {v1}, Lcom/xingbook/park/e/c;->e()I

    move-result v2

    const/16 v3, 0xc8

    if-ne v2, v3, :cond_1

    invoke-virtual {v1}, Lcom/xingbook/park/e/c;->a()I

    move-result v2

    if-nez v2, :cond_0

    invoke-virtual {v1}, Lcom/xingbook/park/e/c;->f()Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_0

    const/4 v1, 0x2

    iput v1, v0, Landroid/os/Message;->what:I

    iget-object v1, p0, Lcom/xingbook/ecloud/c/b;->a:Lcom/xingbook/ecloud/c/a;

    invoke-static {v1}, Lcom/xingbook/ecloud/c/a;->a(Lcom/xingbook/ecloud/c/a;)Lcom/xingbook/ecloud/b/a;

    move-result-object v1

    iput-object v1, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    :goto_0
    iget-object v1, p0, Lcom/xingbook/ecloud/c/b;->a:Lcom/xingbook/ecloud/c/a;

    invoke-static {v1}, Lcom/xingbook/ecloud/c/a;->b(Lcom/xingbook/ecloud/c/a;)Lcom/xingbook/ecloud/c/c;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/xingbook/ecloud/c/c;->sendMessage(Landroid/os/Message;)Z

    return-void

    :cond_0
    const/4 v2, 0x1

    iput v2, v0, Landroid/os/Message;->what:I

    invoke-virtual {v1}, Lcom/xingbook/park/e/c;->d()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    goto :goto_0

    :cond_1
    const/4 v1, -0x1

    iput v1, v0, Landroid/os/Message;->what:I

    goto :goto_0
.end method
